﻿using System.ComponentModel.DataAnnotations;

namespace HotelManageSystem.Models
{
    public class ProductModel
    {
        [ScaffoldColumn(false)]
        public int ID { get; set; }

        [Display(Name = "货品名"), Required]
        public string Name { get; set; }
        //[DataType(DataType.Currency)]
        //[Display(Name = "价格")]
        //public decimal ProductPrice { get; set; }

        [Display(Name = "货品类别")]
        [UIHint("GetProductCategory")]
        public string  ProductCategoy { get; set; }


    }
}